<template>
  <view class="box">
    <uni-card title="基础卡片" extra="额外信息">
      <text>
        这是一个基础卡片示例，此示例展示了一个标题加标题额外信息的标准卡片。
      </text>
    </uni-card>
    <button type="primary" @click="OnChange">更改</button>
    <data-list :list="list" />
  </view>
</template>
<script lang="ts">
import { Component, Mixins } from 'vue-property-decorator'
import mixins from '@/mixins/index'
@Component({})
export default class ActivityInfo extends Mixins(mixins) {
  list: Array<number> = [1, 2, 3]
  OnChange() {
    this.list.push(Math.round(Math.random() * 10))
  }
}
</script>
<style scoped lang="scss"></style>
